package n7.restaurant.java.Entity;

import n7.restaurant.java.Enum.Acces;

public class Position {
	private int x;
	private int y;
	private Acces lieu;
	
	public Position(int x, int y, Acces lieu) {
		super();
		this.x = x;
		this.y = y;
		this.lieu = lieu;
	}

	public Position() {
		super();
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public Acces getLieu() {
		return lieu;
	}

	public void setLieu(Acces lieu) {
		this.lieu = lieu;
	}

	@Override
	public String toString() {
		return "Position [x=" + x + ", y=" + y + ", lieu=" + lieu + "]";
	}
}
